package cn.aitstone.feign;

import cn.aitstone.entity.Store;
import cn.aitstone.utils.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "store-server", fallbackFactory = StoreFeignClientFallbackFactory.class)
public interface StoreFeignClient {



    @PostMapping("/store/add")
    AjaxResult add(@RequestBody Store store);
}
